home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17602 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.0 KB

  1. Path: news.cc.uic.edu!icarus!dhanle2
  2. From: dhanle2@icarus.cc.uic.edu (David James Hanley)
  3. Newsgroups: comp.lang.java,comp.lang.c++,comp.lang.smalltalk
  4. Subject: Re: Will Java kill C++?
  5. Date: 16 Apr 1996 18:31:23 GMT
  6. Organization: University of Illinois at Chicago
  7. Message-ID: <4l0p1r$1136@piglet.cc.uic.edu>
  8. References: <31683229.446B9B3D@bbn.com> <DpJs8I.8tn@research.att.com> <AUSTERN.96Apr15104256@isolde.mti.sgi.com>
  9. NNTP-Posting-Host: icarus.cc.uic.edu
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Matt Austern (austern@isolde.mti.sgi.com) wrote:
  13. : In article <4ks0c8$jte@piglet.cc.uic.edu> dhanle2@icarus.cc.uic.edu (David James Hanley) writes:
  14.  
  15. : > : Correct about what?  That having a name-mangling standard for C++
  16. : > : would make C++ libraries easier to handle.  Sorry, but he's wrong,
  17. : > : and so are you.
  18. : > 
  19. : >     Nope. You're the one who is wrong here.  But seeing as you
  20. : > replied to my first post about the matter with insults to me, I really
  21. : > doubt you are interested in serious exploration of the matter.  
  22.  
  23. : I'd think twice before telling Andy flatly that he's wrong about some
  24. : basic C++ issue.
  25.  
  26.     I'm not calling him wrong on a C++ issue per se.  WHere I do think
  27. he's wrong is in the area of basic logic.  Everyone who's familiar with
  28. compilers knows it's hard to link objects gernerated by different 
  29. compilers.  Where I think he's wrong is in the logical(?) progression:
  30. "It might be hard to do, so let's make it harder."  My thought process
  31. on the matter runs more like:  "It's hard to do, so why the hell should
  32. we make it harder?  That's silly."
  33.  
  34. : There are a whole lot
  35. : of issues to be resolved if you want to link object files from two
  36. : compilers: sizes of basic types, direction of stack growth,
  37. : representation of the number of arguments passed to a subroutine,
  38. : order in which arguments are passed, mechanism for return types,
  39. : padding of data structures,
  40.  
  41.     All the above could easily be inhereted from the C abi's for
  42. the same platform that already exist.
  43.  
  44. : mechanism for polymorphic function calls,
  45.  
  46.     Probably the only hard one.
  47.  
  48. : initialization of global data, layout of derived classes (especially
  49. : in the case of multiple and/or virtual inheritance), representation of
  50. : object type,
  51.  
  52.     Yes, these would have to be resolved.  But none of them are
  53. particularly hard to do.
  54.  
  55. : mechanism for linking to dynamic shared libraries,
  56.  
  57.     Already in the C abi..
  58.  
  59. --
  60. ------------------------------------------------------------------------------
  61. David Hanley,                 |______     Computer Science graduate student.  
  62. dhanley@lac.eecs.uic.edu      |\ ___/__  Martial Artist. Biker. Chess Freak   
  63. www_lac.eecs.uic.edu/~dhanley/| \\ /  / Libertarian.  Atheist.  Bisexual.     
  64. My employer barely KNOWS me.  |  \/BI/ Aspiring novelist.Joyce Kafka Neitzchie
  65. -----------------------------------\/-----------------------------------------
  66. I tried to love god in adolecennce, and failed.
  67. I tried to love a woman, when I had put away childish things, and succeeded.
  68. Read into that, ye seekers of riddles.
  69.